<template>
  <div style="font-size: 10px; width: 90%; color: gray; margin-top: 5px;">
    <span v-if="name" >{{name}}</span> :
    <span>{{content}}</span>
  </div>
</template>

<script>
  import {Tag} from  'element-ui';
  export default {
    name: 'post',
    props: {
      content: {
        type: String,
      },
      name: {
        type: String,
      },
      date: {
        type: String,
      },
    },
    components: {
      'el-tag': Tag
    },
    data() {
      return {}
    },
    methods: {},
    created() {

    },
    mounted() {
      this.isShowName = true;
    }
  }
</script>

<style>

</style>
